
export const useZodiac = (birthdate: Date) => {
  const year = birthdate.getFullYear();
  const zodiacSigns = [
    "鼠",
    "牛",
    "虎",
    "兔",
    "龙",
    "蛇",
    "马",
    "羊",
    "猴",
    "鸡",
    "狗",
    "猪",
  ];
  const zodiacIndex = (year - 1900) % 12;
  return zodiacSigns[zodiacIndex];
};
